import express from 'express';
import { addBlindBox, deleteBlindBox, updateBlindBox, getBlindBoxById, getBlindBoxes } from '../controllers/BlindBoxController';

const router = express.Router();

router.post('/', addBlindBox);
router.delete('/:id', deleteBlindBox);
router.post('/update', updateBlindBox);
router.get('/:id', getBlindBoxById);
router.post('/page', getBlindBoxes);

export default router;
